package com.xiaozhou.mapper;

import com.xiaozhou.pojo.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * CTassName: SysUserMapper
 * Package: com.xiaozhou.mapper
 * Description:
 *
 * @Author xw
 * @Create 2023/11/21 11:26
 * @Version 1.0
 */
@Mapper
public interface SysUserMapper {

    /**
     * 查询是否有该账户
     * */
    @Select("select * from sys_user where username = #{username}")
    SysUser inquireUser(String username);
}
